#include "PollServer.h"

using namespace std;
int main(int argc, char *argv[])
{
    if (argc != 2)
    {
        cout << "usage" << argv[0] << "port" << endl;
    }
    ENABLE_CONSOLE_LOG();
    uint16_t port = std::stoi(argv[1]);
    std::unique_ptr<Pollserve> ser = std::make_unique<Pollserve>(port);

    ser->Init();
    ser->Start();
    return 0;
}